/* components/MyHomeNav/MyHomeNav.wxss */
.nav{
  position: sticky;
  left: 0;
  top: 0;
  background-color: var(--text-white);
  z-index: 100;
  width: 100%;
  height: 100rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .nav-item{
    flex: 1;
    line-height: 100rpx;
    text-align: center;
    transition: .1s;
  }
  .active{
    font-size: 40rpx;
    font-weight: bold;
  }
}